package tianrun.ziguan.api.calculate.config.dto.request;

import tianrun.ziguan.api.calculate.config.dto.response.AssetGroupTree;

import javax.validation.constraints.NotNull;

public class AssetGroupTreeSaveBody {
    @NotNull(message = "资产组id不能为空")
    private Long groupId;
    @NotNull(message = "树形结构不能为空")
    private AssetGroupTree tree;

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public AssetGroupTree getTree() {
        return tree;
    }

    public void setTree(AssetGroupTree tree) {
        this.tree = tree;
    }
}
